package top.infopub.mgr.bpa.jsonVo;

import lombok.Data;
import top.infopub.dto.bpa.ProjectBudgetDto;
import top.infopub.enums.bpa.BpaProjectBudgetTypeEnum;
import top.infopub.enums.mkt.YesOrNoEnum;
import top.infopub.model.bpa.ProjectBudgetDetail;
import top.infopub.model.common.MktSetupProInfo;

import java.util.List;
import java.util.Map;

/**
 * Created by wurz on 2021/6/19.
 */
@Data
public class BpaProjectBudgetJsonVo {
    //基础信息--所有详情需要字段的Dto，属性名和表实体类属性名一样
    private ProjectBudgetDto info;

    //项目列表下拉框，只包含code和name即可的list
    private List<MktSetupProInfo> proInfoList;

    //各个子表详情list，这里可以多个list，没有的list返回null即可
    private List<ProjectBudgetDetail> detailList;

    //附件信息--不改动
    private String[] fileAtt;

    //预结算类型-下拉框
    private List<Map<String, String>> budgetTypeList = BpaProjectBudgetTypeEnum.asList();

    //是否-下拉框
    private List<Map<String, String>> yesOrNoList = YesOrNoEnum.asList();
}
